package cn.zust.ly.EyExample.Ey01;

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int y = sc.nextInt();
		System.out.println(getR(y));
		
	}
	
	static String getR(int x) {
		if(x%400 == 0)return "yes";
		else if(x%4 == 0){
			if(x%100 == 0)return "no";
			else return "yes";
		}
		return "no";
	}
}
